package xuanzhen.reservation.service;

import java.util.List;
import java.util.Map;

import xuanzhen.reservation.pojo.BlackUser;


public interface BlackUserService {
	/**
	 * 新增
	 */
	int insertBlackUser(BlackUser blackUser)throws Exception;
	/**
	 * 修改
	 */
	int updateBlackUser(BlackUser blackUser)throws Exception;
	/**
	 * 根据对象查询
	 */
	List<BlackUser> queryListByEntity(BlackUser blackUser)throws Exception;
	/**
	 * 根据map查询
	 */
	List<BlackUser> queryListByMap(Map<String,Object> parameter)throws Exception;
	//查询是否在黑名单
	List<BlackUser> selectBlack(String phone)throws Exception;
	
	List<BlackUser> selectUserNotBlack(Map<String,Object> parameter) throws Exception;
	
	int deleteByPrimaryKey(int id) throws Exception;
	
}
